from django.utils.deprecation import MiddlewareMixin
from django.shortcuts import render, render_to_response
import requests
from http.client import responses as res
from django.shortcuts import render,HttpResponse
class CCMiddlewareMixin(MiddlewareMixin):
    def process_request(self,request):
        print('request')
        return None
    def process_response(self,request,response):
        response['PYTHON']='python 3.6'
        return response